home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8023 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: ix.netcom.com!netnews
  2. From: BHaddock@ix.netcom.com (Brian F. Haddock)
  3. Newsgroups: comp.lang.c++
  4. Subject: Hints on program optimization needed
  5. Date: Sun, 18 Feb 1996 09:12:02 GMT
  6. Organization: SparTech Software
  7. Message-ID: <3126ec6c.6806559@nntp.ix.netcom.com>
  8. NNTP-Posting-Host: ix-ftw-tx1-20.ix.netcom.com
  9. X-NETCOM-Date: Sun Feb 18  1:14:09 AM PST 1996
  10. X-Newsreader: Forte Agent .99d/32.168
  11.  
  12. I'm interested in any hints/tips you could provide on program
  13. optimization.  Nothing real fancy, just simple little 'tricks' that
  14. enhance program performance.
  15.  
  16. For instance, what's more efficient - a if/then/else construct or a
  17. select/case?  How about virtual functions? You get the picture.
  18.  
  19. Thanks in advance.
  20.  
  21. --             
  22.                        Brian F. Haddock
  23.                     BHaddock@ix.netcom.com
  24.                    -- SparTech Software --
  25.                     Burleson, Tx USA 76028
  26.  
  27. -  When they took the fourth amendment, I was quiet because
  28.    I didn't deal drugs!
  29. -  When they took the sixth amendment, I was quiet because
  30.    I was innocent.
  31. -  When they took the second amendment, I was quiet because
  32.    I didn't own a gun!
  33. -  Now they've taken the first amendment, and I can say
  34.    nothing about it...
  35.